package cn.gson.fengboot.model.mapper;

import cn.gson.fengboot.model.DmypojisVo.Myrolesone;
import cn.gson.fengboot.model.DmypojisVo.Myrolethree;
import cn.gson.fengboot.model.pojos.QroleFrom;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DrolesMapper {

    List<Myrolesone> myroles(@Param("depId") Integer depId);

    List<Myrolethree> myallroles(@Param("roleId") Integer roleId);

    List<Integer> myisnomyroles(@Param("roleId") Integer roleId);

    List<QroleFrom> findAllByDepId(@Param("depId") Integer depId);
}
